
<section class="wrapper">

	<section class="panel">
		<div class="inbox-head">
			<div class="col-lg-12">
				<h3>
					MEMBERSHIP ::
					<?= $membership['info']->name; ?>
				</h3>
				<button class="btn btn-danger pull-right"">Don't Delete Free Listing Membership</button>
				
			</div>
			</div>
			
		



		<div class="panel-body">

			<?php if($this->session->flashdata('message')){?>
			<p class="alert alert-block text-danger">
				<?php echo $this->session->flashdata('message')?>
			</p>
			<?php }?>

			<div class="col-lg-12">
				<section class="panel">
					<div class="panel-body">

						<form class="form-horizontal" name="membership" method="POST"
							action="<?= base_url();?>secure/membership/save">

							<input type="hidden" name="mem_id"
								value="<?= $membership['info']->id; ?> " />



							<table class="table table-inbox table-hover">
								<tbody>
									
									<tr>
										<td><strong>Plan Title</strong></td>
										<td colspan=2>
										<input type="text" name="mem_name" class="form-control" value="<?=  $membership['info']->name;?>">
										</td>
									</tr>
									<tr>
										<td colspan=3><strong>Description</strong><br>
										<textarea class="form-control" rows="4" name="mem_description"><?=  $membership['info']->description;?></textarea>
										</td>
									</tr>
									
									<tr>
										<td><strong>Show Phone Number</strong></td>
										<td> Yes &nbsp; <input name="mem_phone"
											type="radio" value="1"
											<?php if($membership['info']->contact_no=='1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_phone" type="radio" value="0"
										<?php if($membership['info']->contact_no=='0') echo 'checked=cheked'?> />
										</td>
										
									</tr>

									<tr>
										<td><strong>Show Business Email</strong></td>
										<td> Yes &nbsp; <input name="mem_email"
											type="radio" value="1"
											<?php if($membership['info']->email=='1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_email" type="radio" value="0"
										<?php if($membership['info']->email=='0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Show Website</strong></td>
										<td> Yes &nbsp; <input name="mem_website"
											type="radio" value="1"
											<?php if($membership['info']->website=='1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_website" type="radio" value="0"
										<?php if($membership['info']->website=='0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Show Contact Form</strong></td>
										<td> Yes &nbsp; <input name="mem_contact_form"
											type="radio" value="1"
											<?php if($membership['info']->contact_form == '1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_contact_form" type="radio" value="0"
										<?php if($membership['info']->contact_form == '0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Show Contact Person Name and Contact Detail</strong></td>
										<td> Yes &nbsp; <input name="mem_contact_person"
											type="radio" value="1"
											<?php if($membership['info']->contact_person == '1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_contact_person" type="radio" value="0"
										<?php if($membership['info']->contact_person == '0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Update Logo</strong></td>
										<td> Yes &nbsp; <input name="mem_logo"
											type="radio" value="1"
											<?php if($membership['info']->logo == '1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_logo" type="radio" value="0"
										<?php if($membership['info']->logo == '0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Update Video</strong></td>
										<td> Yes &nbsp; <input name="mem_video"
											type="radio" value="1"
											<?php if($membership['info']->video == '1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_video" type="radio" value="0"
										<?php if($membership['info']->video == '0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Upload Photo</strong></td>
										<td> Yes &nbsp; <input name="mem_photo"
											type="radio" value="1"
											<?php if($membership['info']->photo == '1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_photo" type="radio" value="0"
										<?php if($membership['info']->photo == '0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Satisfaction Tag</strong></td>
										<td> Yes &nbsp; <input name="mem_satisfaction_tag"
											type="radio" value="1"
											<?php if($membership['info']->satisfaction_tag == '1') echo 'checked=cheked'?> />
										</td>
										<td>No &nbsp; <input name="mem_satisfaction_tag" type="radio" value="0"
										<?php if($membership['info']->satisfaction_tag == '0') echo 'checked=cheked'?> />
										</td>
									</tr>
									
									<tr>
										<td><strong>Keyword Limit</strong></td>
										<td>
											<input class="" name="keyword_limit" type="text" value="<?= $membership['info']->keyword_limit;?>" >
										</td>
										<td>Only Numeric , no decimal</td>
									</tr>
									
									
									<tr>
										<td><strong>Photo Limit</strong></td>
										<td>
											<input class="" name="photo_limit" type="text" value="<?= $membership['info']->photo_limit;?>" >
										</td>
										<td>Only Numeric , no decimal</td>
									</tr>
									<tr>
										<td><strong>Price</strong></td>
										<td>
											<input class="span12" name="price" type="text" value="<?= $membership['info']->price;?>" >
										</td>
										<td> Only Numeric , no decimal</td>
									</tr>
									
									<tr>
										<td>
										
										</td>
										<td>
											<input type="submit" class="pull-right btn btn-danger"
										value="Delete" name="delete_settings" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');"  >
										</td>
										<td>
										
										<input type="submit" class="pull-right btn btn-success"
										value="Save" name="save_settings" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');"  >
										</td>
									</tr>

								</tbody>
							</table>


						</form>
					</div>

				</section>
			</div>
		</div>
	</section>

</section>
